﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using eBook.Core.BusinessObjects;

namespace eBook.Core.Contracts
{
  public interface ILibRepository
  {
    boBook GetBookById(int bookId);
    boBook GetBookByISBN(string isbn);
    boBook GetBookByISBN(ISBN isbn);

    List<boBook> GetBooksByAuthor(int authorId);
    void SaveOrUpdateBookInfo(boBookInfo info);
    void SaveOrUpdateBook(boBook book);

    List<boBookListItem> GetBookList();
  }
}
